home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Internet / Newsreaders / ToadNews 1.1.sit / ToadNews Documentation.rsrc / TEXT_140.txt < prev    next >
Encoding:
Text File  |  1994-06-11  |  1.7 KB  |  37 lines

  1.  
  2. Appendix C - The ToadNews Active File Format
  3.  
  4. This chapter is intended for those who want to write ToadNews-compatible newsreaders & tools. 
  5.  
  6. If you wish to write external decompressors or threaders for use with ToadNews, then e-mail jpmah@undergrad.math.uwaterloo.ca, and I'll send you a minimal development kit with sample code.
  7.  
  8. The ToadNews Active File Format
  9.  
  10. Another method exists for adding newsgroups for ToadNews to use. You do this by booting up your favorite text editor/word processor. (WordPerfect, Microsoft Word, McSink, Teach-Text) and opening a file called "ToadNews Active" this file can be found in the directory that you told ToadNews to put the news in. This file is a text file. If you use Word Perfect, Word or some other word processor that saves files in it's own special file format make sure you save the file as text only.
  11.  
  12. The layout of the ToadNews Active file is:
  13.  
  14. newsgroupname lastarticle firstarticle expiredays access dirID
  15.  
  16. A typical line in the ToadNews Active file looks like:
  17.  
  18. ...
  19. comp.binaries.mac 00062 00009 00014 y 364
  20. ...
  21.  
  22. Brief explanation of the above:
  23.  
  24. The newsgroupname is something like comp.binaries.mac 
  25. The lastarticle is a number is like 00062 
  26. The firstarticle is a number is like 00009 
  27. The expiredays is the number of days before expiry of old articles is a number like 00014
  28. The access is a single character. The character 'y' indicates that a new newsgroup is allowed to add new articles, 'n' otherwise.
  29. The dirID is a number like 364. This value is the Mac OS folder ID of the newsgroup's folder.
  30.  
  31. Note that the ToadNews Active is not sorted in any way. This is because ToadNews does not need to internally keep this list of newsgroups sorted.
  32.  
  33.  
  34. The ToadNews Message Header File Format
  35.  
  36. Obsolete. No longer supported.
  37.